[#ftl]
[#import 'head.ftl' as head /]
[#assign title='个人用户注册!' /]
[#assign h1=basePath + 'bootstrap/css/bootstrap.min.css' /]
[#assign h2=basePath + 'css/index.css' /]
[#assign linkHrefs=[h1, h2] /]
[@head.printHead title linkHrefs /]
	[#if Session.company?exists]
		<h5>亲爱的企业用户, 请完成你的登陆信息填写</h5>
	[#else]
		<h5>个人用户信息填写</h5>
	[/#if]
	<form class="form-horizontal" id="registerForm" method="post" action="${basePath}userRegisterAction.htm">
		<div id="wrap">
			<div class="control-group">
				<label class="control-label" for="loginName">登陆名称:</label>
				<div class="controls">
					<input type="text" id="loginName" name="loginName" placeholder="登陆名称">
					 <span class="help-inline">10-20个字符, 包含字符串和数字,不能以数字开头</span>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="loginPassword">登陆密码:</label>
				<div class="controls">
					<input type="password" id="loginPassword" name="loginPassword" placeholder="密码">
					<span class="help-inline">10-20个字符</span>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="loginPasswords">再输一次:</label>
				<div class="controls">
					<input type="password" id="loginPasswords" name="loginPasswords" placeholder="密码验证">
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="userName">用户名称:</label>
				<div class="controls">
					<input type="text" id="userName" name="userName" placeholder="你的姓名">
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="userQq">QQ:</label>
				<div class="controls">
					<input type="text" id="userQq" name="userQq" placeholder="QQ号码">
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="userMail">你的邮箱:</label>
				<div class="controls">
					<input type="text" id="userMail" name="userMail" placeholder="你的邮箱">
				</div>
			</div>
			<div class="controls">
	      		<button type="submit" class="btn">注册</button>
	    	</div>
		</div>
	</form>
[#assign s1=basePath + 'js/jquery-1.9.1.js' /]
[#assign s2=basePath + 'js/jquery-ui-1.10.2.custom.js' /]
[#assign s3=basePath + 'bootstrap/js/bootstrap.js' /]
[#assign s4=basePath + 'js/index.js' /]
[#assign scripts=[s1, s2, s3, s4] /]
[#import "tail.ftl" as tail]
[@tail.printTail scripts /]